package com.herenit.order_model.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ExceptionEnums {

    DATA_NOT_EXIST("1","数据不存在于数据库"),
    RABBIT_SEND_ERROR("2","rabbit发送消息异常"),
    RABBIT_RECEIVE_ERROR("3","rabbit获取消息异常"),
    KAFKA_SEND_ERROR("3","kafka发送消息异常"),
    KAFKA_POLL_ERROR("4","kafka获取消息异常");

    private String code;

    private String message;
}
